package models;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;

/**
 * Created by VLAD on 19.08.2014.
 */
public class Album {

    private int id;
    private String name;
    private String description = null;
    private List<Photo> photos = new LinkedList<Photo>();

//    public Album(int id, String name, String description) {
//        this.id = id;
//        this.name = name;
//        this.description = description;
//    }
//
//    public Album(int id, String name) {
//        this.name = name;
//        this.id = id;
//    }

    public List<Photo> getPhotos() {
        return photos;
    }

    public void setPhotos(List<Photo> photos) {
        this.photos = photos;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Album{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", photos=" + photos +
                '}';
    }
}
